<include file="public@header" />
</head>
<body>
	<div class="wrap js-check-wrap">
		<ul class="nav nav-tabs">
			 <form class="well form-inline margin-top-20" method="get" action="{:url('tx/index')}">
        	
            用户ID:
            <input type="text" class="form-control" name="member_id" style="width: 120px;" <notempty name="member_id">value="{$member_id}"</notempty> placeholder="请输入用户ID">

            状态：
            <select name='status' class="form-control">
            	<option value="1" <if condition="$status eq 1">selected</if>>待审核</option>
            	<option value="2" <if condition="$status eq 2">selected</if>>提现成功</option>
            	<option value="3" <if condition="$status eq 3">selected</if>>提现失败</option>
            </select>
            <input type="submit" class="btn btn-primary" value="搜索" />
        </form>
		</ul>
		<table class="table table-hover table-bordered">
			<thead>
				<tr>
					<th width="10%" id='check'>全选</th>
					<th width="10%">编号</th>
					<th width="10%">用户ID</th>
					<th width="10%">用户昵称</th>
					<th width="10%">金额</th>
					<th width="10%">申请时间</th>
					<th width="10%">用户金额</th>
					<th width="10%">状态</th>
					<th width="20%">操作</th>
				</tr>
			</thead>
			<tbody>
		
				<foreach name="list" item="vo">
				<tr>
					<td><input type="checkbox" name="member_id" value="{$vo.id}" /></td>
					<td>{$vo.id}</td>
					<td>{$vo.member_id}</td>
					<td>{$vo.nickname}</td>
					<td>{$vo.money}</td>
					<td>{$vo.add_time}</td>
					<td>{$vo.member_money}</td>
					<td>
						<if condition="$vo.status eq 1">
							待审核
						<elseif condition="$vo.status eq 2">
							<span class="label label-success">提现成功</span>
						<else/>
							<span class="label label-danger">提现失败</span>
						</if>
					</td>
					<td>
						<if condition="$vo.status eq 1">
							<a href="{:url('tx/txPass', ['id' => $vo.id])}">通过</a>&nbsp;&nbsp;&nbsp;
							<a href="{:url('tx/txRejected', ['id' => $vo.id])}">驳回</a>
						</if>
						
					</td>
		
				</tr>
				</foreach>
			</tbody>
		</table>
		<div class="pagination">{$page}</div>
	</div>
	<script src="__STATIC__/js/admin.js"></script>
</body>
</html>